package com.share.dao.sysmgr.privilege;

import java.io.Serializable;
import java.util.List;

import com.share.bean.sysmgr.privilege.PrivilegeResourceItem;


/**
 * <p>Title：权限资源类别DAO接口</p>
 * <p>Description：</p>
 * @Author 杨浩泉
 * @Date 2010-2-28
 */
public interface PrivilegeResourceItemDao {

	public Serializable saveResourceItemDao(PrivilegeResourceItem res) throws RuntimeException ;
	
	public void deleteResourceItemDao(int id) throws RuntimeException ;
	
	public void updateResourceItemDao(PrivilegeResourceItem res) throws RuntimeException ;
	
	public PrivilegeResourceItem queryByIdResourceItemDao(int id) throws RuntimeException; 
	
	public List<PrivilegeResourceItem> queryResourceItemDao(String hql) throws RuntimeException ;
	
}
